/**
 * @date 3:10:32 PM
 * SMSAPPService.java
 * Administrator
 * TODO
 */
package com.qs.education.service;

import javax.servlet.http.HttpServletRequest;

import com.qs.education.bean.api.ResponseBean;
import com.qs.education.bean.beans.EducationSMSResponse;

/**
 * @class SMSAPPService	
 * @author Warren
 * @description
 * @date Nov 5, 2018 
 */
public interface ISMSAPPService {
	
	/**
	 * @author Warren
	 * @param mobile 手机号
	 * @param sendType 发送类型 ->学生用户 ->教师用户
	 * @param request 请求对象，获取客户端ip地址使用。
	 * @return EducationSMSResponse
	 * @description 根据手机号给用户发送短信
	 * @date Nov 5, 2018
	 */
	public EducationSMSResponse getSMS(String mobile,int sendType,HttpServletRequest request);
	
	/**
	 * @author Warren
	 * @param mobile 手机号
	 * @param code 验证码
	 * @return ResponseBean
	 * @description 用户发送的验证码与后台存储的进行校验
	 * @date Nov 5, 2018
	 */
	public ResponseBean checkSMS(String mobile,String code);
	
	
}
